package net.lulihu.pangolin.headless.common.container.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 定义组件扫描前缀
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ComponentScan {


    /**
     * 扫描路径
     */
    String[] value();

    /**
     * 排除包名
     */
    String[] excludePackages() default {};

}
